home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMHTMLLIElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  4KB  |  127 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMHTMLLIElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMHTMLLIElement_h__
  6. #define __gen_nsIDOMHTMLLIElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMHTMLElement_h__
  10. #include "nsIDOMHTMLElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMHTMLLIElement */
  19. #define NS_IDOMHTMLLIELEMENT_IID_STR "a6cf909e-15b3-11d2-932e-00805f8add32"
  20.  
  21. #define NS_IDOMHTMLLIELEMENT_IID \
  22.   {0xa6cf909e, 0x15b3, 0x11d2, \
  23.     { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  24.  
  25. /**
  26.  * The nsIDOMHTMLLIElement interface is the interface to a [X]HTML li
  27.  * element.
  28.  *
  29.  * For more information on this interface please see
  30.  * http://www.w3.org/TR/DOM-Level-2-HTML/
  31.  *
  32.  * @status FROZEN
  33.  */
  34. class NS_NO_VTABLE nsIDOMHTMLLIElement : public nsIDOMHTMLElement {
  35.  public: 
  36.  
  37.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLLIELEMENT_IID)
  38.  
  39.   /* attribute DOMString type; */
  40.   NS_IMETHOD GetType(nsAString & aType) = 0;
  41.   NS_IMETHOD SetType(const nsAString & aType) = 0;
  42.  
  43.   /* attribute long value; */
  44.   NS_IMETHOD GetValue(PRInt32 *aValue) = 0;
  45.   NS_IMETHOD SetValue(PRInt32 aValue) = 0;
  46.  
  47. };
  48.  
  49. /* Use this macro when declaring classes that implement this interface. */
  50. #define NS_DECL_NSIDOMHTMLLIELEMENT \
  51.   NS_IMETHOD GetType(nsAString & aType); \
  52.   NS_IMETHOD SetType(const nsAString & aType); \
  53.   NS_IMETHOD GetValue(PRInt32 *aValue); \
  54.   NS_IMETHOD SetValue(PRInt32 aValue); 
  55.  
  56. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  57. #define NS_FORWARD_NSIDOMHTMLLIELEMENT(_to) \
  58.   NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
  59.   NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } \
  60.   NS_IMETHOD GetValue(PRInt32 *aValue) { return _to GetValue(aValue); } \
  61.   NS_IMETHOD SetValue(PRInt32 aValue) { return _to SetValue(aValue); } 
  62.  
  63. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  64. #define NS_FORWARD_SAFE_NSIDOMHTMLLIELEMENT(_to) \
  65.   NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  66.   NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
  67.   NS_IMETHOD GetValue(PRInt32 *aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
  68.   NS_IMETHOD SetValue(PRInt32 aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } 
  69.  
  70. #if 0
  71. /* Use the code below as a template for the implementation class for this interface. */
  72.  
  73. /* Header file */
  74. class nsDOMHTMLLIElement : public nsIDOMHTMLLIElement
  75. {
  76. public:
  77.   NS_DECL_ISUPPORTS
  78.   NS_DECL_NSIDOMHTMLLIELEMENT
  79.  
  80.   nsDOMHTMLLIElement();
  81.  
  82. private:
  83.   ~nsDOMHTMLLIElement();
  84.  
  85. protected:
  86.   /* additional members */
  87. };
  88.  
  89. /* Implementation file */
  90. NS_IMPL_ISUPPORTS1(nsDOMHTMLLIElement, nsIDOMHTMLLIElement)
  91.  
  92. nsDOMHTMLLIElement::nsDOMHTMLLIElement()
  93. {
  94.   /* member initializers and constructor code */
  95. }
  96.  
  97. nsDOMHTMLLIElement::~nsDOMHTMLLIElement()
  98. {
  99.   /* destructor code */
  100. }
  101.  
  102. /* attribute DOMString type; */
  103. NS_IMETHODIMP nsDOMHTMLLIElement::GetType(nsAString & aType)
  104. {
  105.     return NS_ERROR_NOT_IMPLEMENTED;
  106. }
  107. NS_IMETHODIMP nsDOMHTMLLIElement::SetType(const nsAString & aType)
  108. {
  109.     return NS_ERROR_NOT_IMPLEMENTED;
  110. }
  111.  
  112. /* attribute long value; */
  113. NS_IMETHODIMP nsDOMHTMLLIElement::GetValue(PRInt32 *aValue)
  114. {
  115.     return NS_ERROR_NOT_IMPLEMENTED;
  116. }
  117. NS_IMETHODIMP nsDOMHTMLLIElement::SetValue(PRInt32 aValue)
  118. {
  119.     return NS_ERROR_NOT_IMPLEMENTED;
  120. }
  121.  
  122. /* End of implementation class template. */
  123. #endif
  124.  
  125.  
  126. #endif /* __gen_nsIDOMHTMLLIElement_h__ */
  127.